package com.supreme.commonmybatis.entity.primary;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName biz_store
 */
@Data
@Accessors(chain = true)
@TableName(value ="biz_store")
public class MBStore implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long storeId;

    /**
     * 
     */
    private String storeCode;

    /**
     * 
     */
    private String storeName;

    /**
     * 
     */
    private Integer storeType;

    /**
     * 
     */
    private Integer storeStatus;

    /**
     * 
     */
    private Long groupId;

    /**
     *
     */
    @TableField(exist = false)
    private String groupName;

    /**
     *
     */
    @TableField(exist = false)
    private MBGroup group;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedAt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}